@charset 'UTF-8';
.communication-page {
  padding: 20px 0 20px 0;

  .communication-page-left {
    width: 300px;
    height: calc(100vh - 130px);
    float: left;

    .el-scrollbar {
      .el-scrollbar__wrap {
        overflow-x: hidden;
      }
    }

    .communication-tab {
      width: 100%;
      height: 50px;
      border-bottom: 3px solid $theme-color;
      box-sizing: border-box;

      .el-menu-item {
        width: 150px;
        height: 100%;
        text-align: center;
        font-size: 18px;
        color: #999;
        line-height: 50px;
      }

      .el-menu-item.is-active {
        color: $bg-color;
        background: $theme-color;
      }
    }

    .communication-dialog {
      width: 100%;
      //height: 898px;
      height: fit-content;
      background: #f7f7f7;

      box-sizing: border-box;

      position: relative;

      .communication-dialog-list {
        width: 300px;
        height: 80px;
        box-sizing: border-box;
        padding: 15px 22px 15px 30px;
        border-right: 3px solid #fff;
        background: $bg-color;
        display: flex;
        align-items: center;
        position: relative;

        img {
          width: 50px;
          height: 50px;
          border-radius: 50%;
        }

        .list-right {
          width: 188px;
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          margin: 0 0 0 10px;
          font-size: 12px;
          color: #999;

          .list-right-top-1 {
            justify-content: space-between;
            align-items: flex-start;
          }

          .list-right-top-2 {
            justify-content: space-between;
            align-items: flex-end;
          }

          .list-right-top {
            display: flex;
            margin: 0 0 0 0;

            .top-name {
              flex-shrink: 0;
              font-size: 16px;
              color: #333;
            }

            .company-name {
              font-size: 14px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              text-align: right;
            }
          }

          .list-right-bottom {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
          }
        }
      }

      .communication-dialog-list-checked {
        background: #f7f7f7;
        border-right: 3px solid #e5e5e5;
      }

      .unread_box_cls {
        width: 18px;
        height: 18px;
        background: rgba(241, 92, 24, 1);
        border-radius: 50%;
        position: absolute;
        left: 55px;
        top: 14px;
        display: flex;
        align-items: center;
        justify-content: center;

        .unread_cls {
          font-size: 12px;
          font-weight: 400;
          color: rgba(255, 255, 255, 1);
        }

      }
    }
  }

  .communication-page-right {
    width: 900px;
    height: calc(100vh - 130px);
    //border: 2px solid red;
    background: $bg-color;
    float: left;

    .communication-right-head {
      width: 100%;
      height: 50px;
      display: flex;
      justify-content: space-between;
      padding: 0 50px;

      .communication-tight-title {
        font-size: 14px;
        color: #333;
        line-height: 50px;

        span {
          color: #dd3a31;
        }
      }
    }

    .content-1 {
      height: calc(100%);
    }

    .content-2 {
      height: calc(100% - 50px);
    }

    .communication-right-content {
      width: 100%;
      box-sizing: border-box;
      border-left: 1px solid #f7f7f7;

      .communication-counselor {
        width: 100%;
        height: 100%;
        position: relative;
        //border: 1px solid red;

        .not-communication {
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 18px;
          color: #888;

          .not-communication-text {
            text-align: center;
            font-size: 24px;
            color: #333;
            margin: 0 0 30px 0;
          }
        }

        .counselor-head {
          width: 100%;
          height: 50px;
          background: #f7fdff;
          padding: 0 50px;
          display: flex;
          align-items: center;
          font-size: 14px;
          color: #666;
        }

        .counselor-empty {
          width: 100%;
          height: 50px;
          background: white;
          padding: 0 50px;
          display: flex;
          align-items: center;
          font-size: 16px;
          color: #666;
        }

        .height-1 {
          height: calc(100% - 190px);
        }

        .height-2 {
          height: calc(100% - 140px);
        }


        .counselor-content {
          width: 100%;
          //border: 2px solid red;
          //padding: 50px 50px;
          padding: 0 0;
          box-sizing: border-box;

          .el-scrollbar__wrap {
            overflow-x: hidden;
          }

          .counselor-info {
            height: 50px;
            width: 100%;
            display: flex;
            align-items: center;
            padding-left: 50px;

            p {
              font-size: 14px;
              font-weight: 400;
              color: rgba(102, 102, 102, 1);
              padding-right: 40px;
            }
          }


          .records-scrollbar {
            width: 100%;
            height: 100%;
            //border: 1px solid blue;

            .record_list_cls {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: flex-start;

              padding-left: 10px;
              padding-right: 10px;
            }
          }

          .counselor-content-list {
            width: 100%;
            padding: 0 0 30px 0;
            display: flex;
            justify-content: flex-start;

            img {
              width: 24px;
              height: 24px;
              border-radius: 50%;
              margin: 0 10px 0 0;
            }

            .list-text {
              padding: 19px 30px;
              background: #f7f7f7;
              display: inline-block;

              border-radius: 10px;
            }
          }

          .list-right {
            display: flex;
            justify-content: flex-end;

            img {
              margin: 0 0 0 10px;
            }
          }

          .counselor-content-list-time {
            width: 100%;
            text-align: center;
            color: #999;
            font-size: 14px;
            margin: 0 0 30px 0;
          }
        }

        .counselor-footer {
          width: 100%;
          height: 140px;
          box-sizing: border-box;
          position: absolute;
          bottom: 0;
          border-top: 2px solid #f7f7f7;

          .el-textarea {
            width: 100%;
            height: 100%;

            .el-textarea__inner {
              height: 100%;
              padding: 0;
              border: none;
              resize: none;
            }

            .el-textarea__inner:hover {
              border: none;
            }
          }

          .counselor-footer-footer {
            width: fit-content;
            height: 36px;
            text-align: right;
            font-size: 13px;
            color: #ccc;

            position: absolute;
            right: 10px;
            bottom: 10px;

            //border: 1px solid red;

            .el-button {
              width: 96px;
              height: 36px;
              margin: 0 0 0 20px;
              border-radius: 18px;
              background: $bg-color;
              color: #ccc;
              border: 1px solid #ccc;
              padding: 0;
            }
          }
        }
      }
    }
  }
}
